package com.ruoyi.myplayer.mapper;

import java.util.List;
import com.ruoyi.myplayer.domain.PlayerDailyItem;
import org.apache.ibatis.annotations.Delete;

/**
 * 每日推荐歌单列Mapper接口
 * 
 * @author ruoyi
 * @date 2025-04-07
 */
public interface PlayerDailyItemMapper 
{
    /**
     * 查询每日推荐歌单列
     * 
     * @param id 每日推荐歌单列主键
     * @return 每日推荐歌单列
     */
    public PlayerDailyItem selectPlayerDailyItemById(Long id);

    /**
     * 查询每日推荐歌单列列表
     * 
     * @param playerDailyItem 每日推荐歌单列
     * @return 每日推荐歌单列集合
     */
    public List<PlayerDailyItem> selectPlayerDailyItemList(PlayerDailyItem playerDailyItem);

    /**
     * 新增每日推荐歌单列
     * 
     * @param playerDailyItem 每日推荐歌单列
     * @return 结果
     */
    public int insertPlayerDailyItem(PlayerDailyItem playerDailyItem);

    /**
     * 修改每日推荐歌单列
     * 
     * @param playerDailyItem 每日推荐歌单列
     * @return 结果
     */
    public int updatePlayerDailyItem(PlayerDailyItem playerDailyItem);

    /**
     * 删除每日推荐歌单列
     * 
     * @param id 每日推荐歌单列主键
     * @return 结果
     */
    public int deletePlayerDailyItemById(Long id);

    /**
     * 批量删除每日推荐歌单列
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deletePlayerDailyItemByIds(Long[] ids);

    @Delete("DELETE  FROM player_daily_item")
    void deletePlayerDailyItemAll();
}
